package com.niiwoo.civet.account.service;/**
 * Created by DELL on 2017/12/16.
 */

import com.niiwoo.civet.account.dto.request.PlateFundTransferRequestDto;
import com.niiwoo.civet.account.dto.request.SubmitAccountFundTransferRequestDTO;
import com.niiwoo.civet.account.dto.response.SubmitAccountFundTransferReponseDTO;

/**
 * 账户资金划拨
 *
 * @author xiaoyingping
 * @create 2017-12-16 14:00
 **/
public interface AccountFundTransferDubboService {

    /**
     * 提交资金划拨请求
     *
     * @param submitAccountFundTransferRequest
     */
    SubmitAccountFundTransferReponseDTO submitFundTransfer(SubmitAccountFundTransferRequestDTO submitAccountFundTransferRequest);

    /**
     * 处理资金划拨请求后的回调结果
     *
     * @param requestNo 资金划拨请求流水号
     * @param isTansferSuccess 是否转账成功
     */
    void processSubmitFundTransferNotify(String requestNo, Boolean isTansferSuccess);

    /**
     * 查询资金划拨订单交易状态的Job
     */
    void queryGroupAccountTransferJob();
    /**
     * 平台资金划拨
     */
    SubmitAccountFundTransferReponseDTO submitPlateFundTransfer(PlateFundTransferRequestDto requestDTO);
}
